package com.joysuch.wwyt.risk.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@Api(value = "区域风险评估列表")
public class RiskEvaluationBusinessPageBean implements Serializable {

    @ApiModelProperty("区域id")
    private Long id;

    @ApiModelProperty("评估id")
    private Long evaluationId;

    @ApiModelProperty("编号")
    private String code;

    @ApiModelProperty("区域名称")
    private String name;

    @ApiModelProperty("责任单位id")
    private Long responsibleDepartId;

    @ApiModelProperty("责任单位名称")
    private String responsibleDepartName;

    @ApiModelProperty("风险等级")
    private Integer riskLevel;

    @ApiModelProperty("风险等级名称")
    private String riskLevelName;

    @ApiModelProperty("区域固有风险等级")
    private Integer stableRiskLevel;

    @ApiModelProperty("区域固有风险等级名称")
    private String stableRiskLevelName;

    @ApiModelProperty("评估日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date evaluationYear;

    @ApiModelProperty("评估状态")
    private Integer state;
}
